package org.runtimedao.dao;

import java.util.List;
import java.util.Map;

public interface DAO<T> {

	T find(Object id);

	T find(Object id, Map<String, Object> properties);

	List<T> findAll();

	void persist(T t);

	void remove(T t);

	void merge(T t);

	void flush();
}
